#pragma once
#include "MQTTClient.h"
#include "../main.h"

int mqtt_client_init(sys_ctrl_t *cfg);
int mqtt_client_destory(sys_ctrl_t *cfg);
int mqtt_client_publish(sys_ctrl_t *cfg, const char *data, int len);